Copy a single row from a table.

Hi,

I want to copy a complete row from a table, and paste this complete row to my desired location.
The desired location would be different place in same table or in different table.
Can anybody help for solving this problem with the help of DXL script.

Thanks,
Rohitashva Goyal
goyalrohitashva@gmail.com
rohitashva - Fri Jul 20 07:33:08 EDT 2012

Re: Copy a single row from a table.
llandale - Fri Jul 20 10:03:14 EDT 2012

Perhaps this gets you going:

Object oCurr = current  // User must select some cell in the table
Object oTable = table(oCurr)   // the invisible Table heading Object
Object oRow       // invisible Row Heading objects
Object oCell_Start = null, oCell_Last=null
 
for oRow in oTable do
{       // for each Row in the Table
   if (I care about this row) then
   {  oCell_Start = oRow[1]   // 1st Cell of this row
      for (oCell_Last in oRow) do{}  // Loop, find the last one
      break
   }
}
now oCell_Start is the 1st cell in the row, oCell_Last is the last.


-Louie